<?php
    $url = isset($_SERVER['HTTPS'])? "https://" : "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; 
?>
<html>
    <head>
        <title>Foto Gallery</title>
        
        <script type="text/javascript" src="<?php echo $url; ?>/js/jquery2.1.1.min.js"></script>
        <script type="text/javascript" src="<?php echo $url; ?>/js/fotogallery.jquery.js"></script>
        
        <link rel="stylesheet" href="<?php echo $url; ?>/css/style.css" />
        
        <script type="text/javascript">
            //$(document).ready(function (){
            $(window).load(function (){
                $('#photogallery').photogallery({
                    type        : 'picasa',
                    start       : 597,
                    
                    style       :{
                        color       : 'white',
                        bgColor     : 'black',
                        width       : '60%',
                        height      : '60%',
                        fullscreen  : true,
                        menu        : false
                    },
                    
                    thumbnail : {
                        show : true
                    },
                    
                    picasa : {
                        username : 'smanimazionemusicale',
                        album    : 'Halloween'
                    },
                    
                    commands : {
                        playpause : true,
                        autoplay  : true
                    },
                    
                    exclude : {
                        0 : 'Foto del profilo'
                    }
                });
            });
        </script>
    </head>
    
    <body>
        <div id="photogallery"></div>
    </body>
</html>